<?php

// Melde alle PHP Fehler
error_reporting(-1);
/*
 * Contains Configuration variables like database connection strings and other
 * constants.
 * @author Kamdem Kenmogne
 */
define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASSWORD", "");
define("DB_DATABASE", "tauschapps");

define('USER_CREATED_SUCCESSFULLY', 0);
define('USER_CREATE_FAILED', 1);
define('USER_ALREADY_EXISTED', 2);
define('USERNAME_ALREADY_EXISTED', 3);

define('EVENT_CREATED_SUCCESSFULLY', 0);
define('EVENT_CREATE_FAILED', 1);
define('API_KEY_MISSING', 3);
define('INVALID_API_KEY',4);

define('CATEGORIE_CREATED_SUCCESSFULLY', 0);
define('CATEGORIE_CREATE_FAILED', 1);
define('CATEGORIE_ALREADY_EXISTED', 2);

?>
